package com.shrct.businessprocess.product.proxy;

import com.shrct.businessprocess.product.proxy.RCIdentifiableNormalProductEntryAction;
import com.shrct.businessprocess.product.proxy.RCIdentifiableProductEntryProxy;
import edu.fudan.mylang.pf.ProxyTarget;

@ProxyTarget("com.shrct.businessprocess.product.RCIdentifiableNormalProductEntry")
public class RCIdentifiableNormalProductEntryProxy extends RCIdentifiableProductEntryProxy {
  public RCIdentifiableNormalProductEntryProxy() {
    this.setClazzName("com.shrct.businessprocess.product.RCIdentifiableNormalProductEntry");
  }
  
  private String status;
  
  public void setStatus(final String status) {
    this.status = status;
  }
  
  public String getStatus() {
    return this.status;
  }
  
  public Boolean isActionValid(final RCIdentifiableNormalProductEntryAction action) {
    return RCIdentifiableNormalProductEntryManager.isActionValid(action,status);
  }
}
